package com.gopay.common.domain.global;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "GOPAY_GLOBAL_VARIABLES")
public class GopayGlobalVariables implements Serializable {

  private Integer id;
  private String title;
  private String paramKey;
  private String paramValue;
  private String description;
  private String remark;
  private String groups;
  private String maintenancePersonnel;
  private Date createTime;

  @Id
  @SequenceGenerator(name = "GopayGlobalVariablesSequence", sequenceName = "GOPAY_GLOBAL_VARIABLES_SEQ",allocationSize=1)
  @GeneratedValue(generator = "GopayGlobalVariablesSequence", strategy = GenerationType.SEQUENCE)
  @Column(name = "id", unique = true, nullable = false, precision = 22, scale = 0)
  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  @Basic
  @Column(name = "TITLE")
  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  @Basic
  @Column(name = "PARAM_KEY")
  public String getParamKey() {
    return paramKey;
  }

  public void setParamKey(String paramKey) {
    this.paramKey = paramKey;
  }

  @Basic
  @Column(name = "PARAM_VALUE")
  public String getParamValue() {
    return paramValue;
  }

  public void setParamValue(String paramValue) {
    this.paramValue = paramValue;
  }

  @Basic
  @Column(name = "DESCRIPTION")
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  @Basic
  @Column(name = "REMARK")
  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  @Basic
  @Column(name = "GROUPS")
  public String getGroups() {
    return groups;
  }

  public void setGroups(String groups) {
    this.groups = groups;
  }

  @Basic
  @Column(name = "MAINTENANCE_PERSONNEL")
  public String getMaintenancePersonnel() {
    return maintenancePersonnel;
  }

  public void setMaintenancePersonnel(String maintenancePersonnel) {
    this.maintenancePersonnel = maintenancePersonnel;
  }

  @Basic
  @Column(name = "CREATE_TIME")
  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }
}
